import styles from './home.module.scss';
import { Button } from 'antd';
import { useNavigate } from'react-router-dom';

const Home = () => {
  const navigate = useNavigate();
  return (
    <div className={styles.container}>
       <div className={styles.title}>问卷调查|在线投票</div>
       <div className={styles.tip}>已累计创建问卷1000份，发布问卷800份，参与问卷10000份，感谢您的参与！</div>
       <div className={styles.btn}>
        <Button onClick={()=>navigate('/manage/list')} type="primary" size="large">开始使用</Button>
       </div>
    </div>
  )
}


export default Home;